package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.RescissionDao;
import com.fsj.admin.system.domain.RescissionDO;
import com.fsj.admin.system.service.RescissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class RescissionServiceImpl implements RescissionService {
	@Autowired
	private RescissionDao rescissionDao;
	
	@Override
	public RescissionDO get(Long id){
		return rescissionDao.get(id);
	}
	
	@Override
	public List<RescissionDO> list(Map<String, Object> map){
		return rescissionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return rescissionDao.count(map);
	}
	
	@Override
	public int save(RescissionDO rescission){
		return rescissionDao.save(rescission);
	}
	
	@Override
	public int update(RescissionDO rescission){
		return rescissionDao.update(rescission);
	}
	
	@Override
	public int remove(Long id){
		return rescissionDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return rescissionDao.batchRemove(ids);
	}
	
}
